package test.hack11;

import javax.swing.ImageIcon;
import javax.swing.JLabel;

public class ImageLabel extends JLabel {
	public ImageLabel(ImageIcon icon){
		setSize(icon.getImage().getWidth(null),icon.getImage().getHeight(null));
		setIcon(icon);
		setOpaque(false);
		setIconTextGap(0);
		setBorder(null);
		setText(null);
	}
}
